#version 410 core

// Declare all the semantics
#define ATTR_POSITION	0
#define ATTR_NORMAL		1
#define ATTR_COLOR		2

#define VERT_POSITION	0
#define VERT_NORMAL		1
#define VERT_COLOR		2
#define VERT_INSTANCE	3

#define FRAG_COLOR		0

layout(location = VERT_COLOR) in vec3 vColor;

layout(location = FRAG_COLOR, index = 0) out vec4 fColor;

void main()
{
	fColor = vec4(vColor, 1.0f);
}
